package user;

public interface UsersListObserver {

	/**
	 * Call when a new User is added to the UsersList
	 * 
	 * @param u The new user
	 */
	public void fireNewUser (User u) ;
	
	/**
	 * Call when a user is updated into the list
	 * 
	 * @param u The new user (same address as old user)
	 */
	public void fireUpdateUser (User oldUser, User newUser) ;
	
	/**
	 * Call when a user is deleted from the list
	 * 
	 * @param u The user to delete
	 */
	public void fireDeleteUser (User u) ;

}
